home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of MacTutor - S…e Code for Volumes 1 to 5
/
The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin
/
Source Code
/
#39 (Dec 88)
/
Twindow
/
TWindows.h
< prev
next >
Wrap
Text File
|
1988-04-29
|
1KB
|
58 lines
/*
* TWindows.h
*
* Include file for usage with the TWindow Manager, an extended window
* manager that supports tool windows; these are windows that always
* float on top, for palettes and tools.
*
* Written in MPW C 2.0
*
* Copyright Thomas Fruin 1988
* All rights reserved.
*
* fruin@hlerul5.BITNET University of Leiden
* thomas@uvabick.UUCP University of Amsterdam
* dibs@well.UUCP
* hol0066.AppleLink
* 2:508/15.FidoNet The Netherlands
*/
*/
/*
* T Y P E S
*/
/* Define the standard toolbox types INTEGER
and LONGINT in terms of the equivalents for
the MPW C compiler. */
#define INTEGER short
#define LONGINT long
/* Constants for the kindes of windows */
/* dialogKind 2 */
/* userKind 8 */
#define systemKind -1
#define toolKind 30000
#define anyKind 30001
#define inFront ((WindowPtr)-1)
/* Callable functions in the TWindow Manager */
void TInitWindows();
WindowPtr TNewWindow();
WindowPtr TGetNewWindow();
void TCloseWindow();
void TDisposeWindow();
void TSelectWindow();
void THideWindow();
void TShowWindow();
WindowPtr TFrontWindow();
void TDragWindow();
Boolean TGetNextEvent();
INTEGER TGetWKind();